import __00SetRelation as sr
import _00SetFunc as ss 

#求等价类
m,n=20,5
X=set(range(m))
R=sr.modm(m,n)
print("X",X)
print("R",R)
Ec=sr.equivalentclass(X,R,0)
print("x=0",Ec)
Ec=sr.equivalentclass(X,R,1)
print("x=1",Ec)
Ec=sr.equivalentclass(X,R,2)
print("x=2",Ec)
Ec=sr.equivalentclass(X,R,3)
print("x=3",Ec)
Ec=sr.equivalentclass(X,R,4)
print("x=4",Ec)
Ec=sr.equivalentclass(X,R,5)
print("x=5",Ec)